package com.guanjia.entity;

/*
* 众筹话题
* */

import java.util.Date;

public class CrowdFundingTopic {
    private Integer id;
    private Integer userId;
    private Integer crowdfundingId;
    private Date time;      //发布时间
    private String content;     //内容

    public CrowdFundingTopic(Integer id, Integer userId,
                             Integer crowdfundingId, Date time, String content) {
        this.id = id;
        this.userId = userId;
        this.crowdfundingId = crowdfundingId;
        this.time = time;
        this.content = content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCrowdfundingId() {
        return crowdfundingId;
    }

    public void setCrowdfundingId(Integer crowdfundingId) {
        this.crowdfundingId = crowdfundingId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public CrowdFundingTopic() {
    }

    @Override
    public String toString() {
        return "CrowdFundingTopic{" +
                "id=" + id +
                ", userId=" + userId +
                ", crowdfundingId=" + crowdfundingId +
                ", time=" + time +
                ", content='" + content + '\'' +
                '}';
    }
}
